﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using CentaLine.Infrastructure;
using CentaLine.Repository;
using Microsoft.Practices.EnterpriseLibrary.Data;
using CentaLine.Model;
namespace CentaLine.WinConsole
{
    class Program
    {
        static void Main(string[] args)
        {
            var res = new VitualPhoneManager().AutoAssign();
            if (res.Result)
            {
                //Console.WriteLine(res.Message);
            }
            else {
                Console.WriteLine(res.Exception);
            }
            Console.WriteLine("\n该窗口60秒后自动关闭......");
            Thread.Sleep(120000);
        }
    }
}
